export const URL = { //统一管理请求地址
  shipping: { //收货地址管理
    detail: "/user/shipping-address/detail", //详细收货地址
    default: "/user/shipping-address/default", //默认收货地址
    list: "/user/shipping-address/list", //收货地址列表
    delete: "/user/shipping-address/delete", //删除收货地址
    update: "/user/shipping-address/update", //修改收货地址
    add: "/user/shipping-address/add", //添加收货地址
  },
  subject: { //文章   
    detail: "/cms/news/detail", //文章详情
    list: "/cms/news/list", //文章列表
  },
  sign: { //签到
    rules: "/score/sign/rules", //获取签到赠送积分规则
    rule: "/score/send/rule", //获取积分赠送规则
    logs: "/score/logs", //积分明细记录
    sign_logs: "/score/sign/logs", //查询签到记录
    sign: "/score/sign", //签到
  },
  bargain: { //砍价
    info: "/shop/goods/kanjia/info", //获取砍价详情
    myHelp: "/shop/goods/kanjia/myHelp", //帮别人砍价的信息
    help: "/shop/goods/kanjia/help", //砍一刀
    join: "/shop/goods/kanjia/join", //发起砍价
    my: "/shop/goods/kanjia/my", //我的砍价
    list: "/shop/goods/kanjia/list", //获取参与砍价的商品
  },
  shop:{ //商品
    banner: "/banner/list", //Banner管理接口
    price : "/shop/goods/price",  //选择规格和尺寸获取商品价格
    detail : "/shop/goods/detail", //商品详情
    list : "/shop/goods/list", //商品列表
    category :"/shop/goods/category/all" //商品分类
  },
  user:{ //登录
    login : "/user/m/login?deviceId=007&deviceName=monkey" //登录
  },
  evaluate : {//评价管理
    goods: "/shop/goods/reputation", //获取商品评价数据
    order: "/order/reputation" //评价接口
  }


}


export const METHOD = {
  GET : "GET",
  POST : "POST"
}